CVE-2025-15281
wordexp with WRDE_REUSE and WRDE_APPEND may return uninitialized memory
Description
Calling wordexp with WRDE_REUSE in conjunction with WRDE_APPEND in the GNU C Library version 2.0 to version 2.42 may cause the interface to return uninitialized memory in the we_wordv member, which on subsequent calls to wordfree may abort the process.
INFO
Published Date :
Jan. 20, 2026, 2:16 p.m.
Last Modified :
Jan. 20, 2026, 6:16 p.m.
Remotely Exploit :
No
Source :
3ff69d7a-14f2-4f67-a097-88dee7810d18
Solution
- Update the GNU C Library to a patched version.
- Avoid using WRDE_REUSE with WRDE_APPEND.
- Review memory handling in wordexp calls.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-15281.
| URL | Resource |
|---|---|
| https://sourceware.org/bugzilla/show_bug.cgi?id=33814 | |
| http://www.openwall.com/lists/oss-security/2026/01/20/3 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-15281 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-15281
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-15281 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-15281 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Jan. 20, 2026
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2026/01/20/3 -
New CVE Received by 3ff69d7a-14f2-4f67-a097-88dee7810d18
Jan. 20, 2026
Action Type Old Value New Value Added Description Calling wordexp with WRDE_REUSE in conjunction with WRDE_APPEND in the GNU C Library version 2.0 to version 2.42 may cause the interface to return uninitialized memory in the we_wordv member, which on subsequent calls to wordfree may abort the process. Added CWE CWE-908 Added Reference https://sourceware.org/bugzilla/show_bug.cgi?id=33814